package src;

import java.util.Scanner;

public class Application {
    public static void main(String[] args) {
        Race race = new Race();
        new Thread(race,"兔子").start();
        new Thread(race,"龟").start();

        Scanner scanner = new Scanner(System.in);
        int number=0;
        System.out.println("please, input a number for test");
        //number = scanner.nextInt();
        System.out.println(number);

        ThreadRunnable ticket = new ThreadRunnable();
        new Thread(ticket,"lihan").start();
        new Thread(ticket,"wang").start();
        new Thread(ticket,"qiu").start();



    }
}
